<template>
  <div class="common-app-container">
    <tab></tab>
    <router-view></router-view>
    <img class="common-fixed-rb-btn feedback-btn" @click="feedBack" src="https://dl.app.gtja.com/nrng/images/yijian@2x.png"/>
  </div>
</template>

<script>
  /**
   * 首页
   * /index
   */
  import Tab from 'components/Tab'
  import LocalDAO from 'common/localDAO'

  export default {
    name: 'app',
    components: {
      'tab': Tab
    },
    methods:{
      feedBack(){
        // 埋点
        var object = {};
        object.usercode = LocalDAO.getUserCode();
        TDAPP.onEvent("18001", "", object);
        TDAPP.send();
        window.location.href = "gtjayyz://jumpfunc?funid=11004";
      }
    }
  }
</script>

<style>
</style>
